@charset "UTF-8";
/* 全局样式 */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f8f8f8;
}

/* 头部样式 */
.nav {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    height: 80px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav .header {
    display: flex;
    margin: 0 100px 0 80px;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.nav .header .nav-left {
    font-size: 28px;
    margin-right: 20px;
    font-weight: bold;
}

.nav .header .nav-left .nav-lef-wei {
    width: 80px;
    height: 44px;
    background-color: #f90808;
    border-radius: 9px / 7px;
    display: inline-block;
    text-align: center;
    line-height: 41px;
    color: white;
    font-weight: bold;
    font-family: FangSong_GB2312;
    margin-top: 10px;
    font-size: 34px;
    padding-right: 1px;
}

.nav .header .header-right {
    display: flex;
}

.nav .header .header-right .notification {
    display: flex;
    align-items: center;
}

.nav .header .header-right .notification .icon-messages {
    margin-right: 5px;
    font-size: 20px;
}

.nav .header .header-right .notification .notification-count {
    background-color: #f00;
    color: #fff;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 12px;
}

.nav .header .header-right .notification .notification-text {
    margin-left: 3px;
    font-size: 20px;
    cursor: pointer;
}

.nav .header .header-right .userInfo {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.nav .header .header-right .userInfo .avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    margin-left: 20px;
    cursor: pointer;
}

.nav .header .header-right .userInfo .username {
    margin-left: 10px;
}

/* 主容器样式 */
.main-container {
    display: flex;
    margin: 20px;
    /* 侧边栏样式 */
    /* 内容区域样式 */
}

.main-container .sidebar {
    width: 250px;
    height: 550px;
}

.main-container .sidebar .sidebar-menu {
    display: flex;
    flex-direction: column;
    background-color: #F8F8F8;
    margin-top: 15px;
}

.main-container .sidebar .sidebar-menu .menu-item {
    padding: 10px;
    height: 28px;
    cursor: pointer;
    font-size: 23px;
    margin: 5px 20px;
    padding-left: 27px;
}

.main-container .sidebar .sidebar-menu .menu-item:hover {
    background-color: #F0F0F0;
}

.main-container .sidebar .sidebar-menu .menu-item .menu-text {
    margin-left: 5px;
}

.main-container .sidebar .sidebar-menu .menu-item .icon-xiangshang-1 {
    margin-left: 62px;
    font-size: 24px;
}

.main-container .sidebar .sidebar-menu .menu-item-list {
    cursor: pointer;
    font-size: 18px;
    margin: 0 18px;
    overflow: hidden;
    transition: max-height 0.3s ease-out, transform 0.3s ease-out;
}

.main-container .sidebar .sidebar-menu .menu-item-list .sub-menu-item {
    padding-left: 57px;
    height: 32px;
}
.post-manage-active{
    background-color: #F0F0F0;

}
.main-container .sidebar .sidebar-menu .menu-item-list .sub-menu-item:hover {
    background-color: #F0F0F0;
}

.main-container .content {
    flex: 1;
    margin: 30px;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 15px 20px;
    width: 905px;
}

.main-container .content .item {
    /*display: none;*/
    padding: 10px;
}

.main-container .content .item.active {
    display: block;
}

.main-container .content .message-center .message-center-title {
    margin-bottom: 10px;
}

.main-container .content .message-center .message-center-actions {
    display: flex;
    border-bottom: 2px solid #ccc;
    margin-bottom: 15px;
}

.main-container .content .message-center .message-center-actions .message-tab {
    padding: 10px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.main-container .content .message-center .message-center-actions .message-tab:active {
    color: #000;
}

.main-container .content .message-center .underline {
    height: 2px;
    background-color: #f00;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    transition: left 0.3s ease;
}

.main-container .content .message-center .message-left {
    width: 350px;
    border-right: 2px solid #ccc;
    position: absolute;
    height: 330px;
}

.main-container .content .message-center .message-left .message-search {
    width: 300px;
    position: relative;
    margin-bottom: 10px;
}

.main-container .content .message-center .message-left .message-search input {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 3px;
    outline: none;
}

.main-container .content .message-center .message-left .message-search .icon-sousuo {
    position: absolute;
    right: 0px;
    top: 50%;
    transform: translateY(-50%);
}

.main-container .content .message-center .message-left .message-list .tab-pane {
    width: 100%;
}

.main-container .content .message-center .message-left .message-list .message-item {
    display: flex;
    align-items: flex-start;
    padding: 10px;
    border-bottom: 1px solid #f0f0f0;
}

.main-container .content .message-center .message-left .message-list .message-item:hover {
    background-color: #FAFAFA;
}

.main-container .content .message-center .message-left .message-list .message-item .message-icon .message-icon-count {
    background-color: #f00;
    color: #fff;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 12px;
}

.main-container .content .message-center .message-left .message-list .message-item .message-content {
    margin-left: 10px;
}

.main-container .content .message-center .message-left .message-list .message-item .message-content .message-title {
    margin-bottom: 5px;
}

.main-container .content .message-center .message-left .message-list .message-item .message-content .message-time {
    color: #888;
    font-size: 12px;
}

.main-container .content .message-center .message-left .message-list .message-item .message-content .message-text {
    margin-top: 5px;
}

.main-container .content .message-center .message-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 300px;
    width: 750px;
    margin-left: 370px;
    border-top: 1px solid #f0f0f0;
}

.main-container .content .message-center .message-right .icon-chat-placeholder {
    font-size: 80px;
    color: #f0f0f0;
}

.main-container .content .message-center .message-right .chat-placeholder-text {
    color: #888;
}

.main-container .content .message-center .hidden {
    display: none;
}

.main-container .content .message-center .visible {
    display: block;
}

.main-container .content .message-center .flex-layout {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.outLoading .loading{
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.outLoading .loading .spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #FF0808;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
#noContent {
    /*position: absolute;*/
    /*width: 74%;*/
    height: 330px;
}

#noContent  .placeholder {
    /*background-color: green;*/
    position: relative;
}

#noContent .placeholder .img-text {
    position: absolute;
    right: 50%;
    top: 50%;
    transform: translate(50%, 50%);
}

#noContent .placeholder .img-text img {
    width: 150px;
    height: 150px;
}

#noContent  .placeholder .img-text .placeholder-text {
    margin-left: 9px;
}

.main-container .content .posts-manage .tab-bar {
    display: flex;
    margin-bottom: 20px;
    justify-content: space-between;
}

.main-container .content .posts-manage .tab-bar .tab-item {
    text-decoration: none;
    color: #333;
    padding: 10px;
    border-bottom: 2px solid transparent;
    cursor: pointer;
}

.main-container .content .posts-manage .tab-bar .tab-item.active {
    border-bottom-color: #e62e24;

}

.main-container .content .posts-manage .tab-bar input[type="text"] {
    padding: 5px;
    margin-right: 10px;
    outline: none;
}

.main-container .content .posts-manage .tab-bar button {
    padding: 5px 10px;
    background-color: #e62e24;
    color: #fff;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}

.main-container .content .posts-manage .filter-bar {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    justify-content: space-between;
}

.main-container .content .posts-manage .filter-bar span {
    margin-right: 10px;
}

.main-container .content .posts-manage .filter-bar .filter-item {
    text-decoration: none;
    color: #333;
    margin-right: 10px;
}

.main-container .content .posts-manage .filter-bar .filter-item.active {
    font-weight: bold;
}

.main-container .content .posts-manage .posts-num {
    margin: 5px 5px 10px 5px;
    font-size: 16px;
}

.main-container .content .posts-manage .work-item-lists {
    height: 375px;
    overflow-y: auto;
}
.main-container .content .posts-manage .work-item-help-div{
    margin: 29px 5px;
    border: 1px solid #e6e6e6;
    height: 113px;
    cursor: pointer;
}
.main-container .content .posts-manage .work-item {
    display: flex;
    padding: 10px;
    justify-content: center;
    align-items: center;

}
.main-container .content .posts-manage .work-item-help-div:hover{
    background-color: #F6F6F6;
}
.main-container .content .posts-manage .work-item .work-thumbnail {
    /*width: 170px;*/
    margin-right: 20px;
}

.main-container .content .posts-manage .work-item .work-thumbnail img {
    width: 150px;
    height: 90px;
    border-radius: 5px;
}

.main-container .content .posts-manage .work-item .work-info {
    flex: 1;
}

.main-container .content .posts-manage .work-item .work-info .work-top {
    font-size: 18px;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.main-container .content .posts-manage .work-item .work-info .work-top .work-title {
    cursor: pointer;
    white-space:nowrap;
    text-overflow:ellipsis;
    overflow:hidden;
    width: 729px;
}
.main-container .content .posts-manage .work-item .work-info .work-top .work-date {
    float: right;
    font-size: 15px;
    color: #333;
    margin-left: 13px;
    margin-right: 6px;
}

.main-container .content .posts-manage .work-item .work-info .work-status {
    display: flex;
    margin-bottom: 5px;
}

.main-container .content .posts-manage .work-item .work-info .work-status .tag {
    background-color: #e6e6e6;
    color: #333;
    padding: 5px 10px;
    border-radius: 3px;
    margin-right: 5px;
    font-size: 12px;
    cursor: pointer;
}

.main-container .content .posts-manage .work-item .work-info .work-actions {
    display: flex;
    justify-content: space-between;
}

.main-container .content .posts-manage .work-item .work-info .work-actions .work-stats {
    margin: 5px;
    padding: 0;
}

.main-container .content .posts-manage .work-item .work-info .work-actions .work-stats li {
    float: left;
    list-style: none;
    cursor: pointer;
}

.main-container .content .posts-manage .work-item .work-info .work-actions .actions-right {
    margin: 5px;
}

.main-container .content .posts-manage .work-item .work-info .work-actions .actions-right button {
    text-decoration: none;
    color: #333;
    margin-left: 10px;
    cursor: pointer;
    font-size: 16px;
    border: none;
    background-color: white;
}

/* 评论弹窗样式 */
.comment-popup {
    position: fixed;
    top: 0;
    right: -800px;
    /* 初始位置在屏幕外右侧 */
    width: 800px;
    height: 100vh;
    background-color: white;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
    transition: right 0.2s ease-in-out;
    /* 过渡效果 */
    z-index: 1000;
    overflow: hidden;
}

.comment-popup.active {
    right: 0;
    /* 激活时滑入屏幕 */
}

.comment-popup .popup-content {
    padding: 20px;
}

.comment-popup .popup-content .close-button {
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 30px;
    cursor: pointer;
}

.comment-popup .popup-content .comment-filter-list .work-item-box {
    display: flex;
    padding: 20px;
}

.comment-popup .popup-content .comment-filter-list .work-item-box .item-cover img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    margin-right: 10px;
}

.comment-popup .popup-content .comment-filter-list .work-item-box .item-content {
    margin-left: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.comment-popup .popup-content .comment-filter-list .list-section {
    margin: 0;
    margin-top: 10px;
}

.comment-popup .popup-content .comment-filter-list .list-section .comment-filter-list-header {
    padding: 5px;
}

.comment-popup .popup-content .comment-filter-list .list-section .article-comment-list .comment-item-wrap {
    height: calc(100vh - 200px);
    overflow-y: auto;
}
.more-comment-button {
    border: none;
    padding: 11px 4px;
    text-align: center;
    font-size: 16px;
    font-weight: 500;
    line-height: 22px;
    width: 98%;
    color: rgb(34 34 34);
    background: #f8f8f8;
    cursor: pointer;
    margin: 11px 4px;
}
.more-comment-button:hover {
    background-color: #eaeaea;
}
.noMoreComments{
    font-size:15px;
    color:grey;
    text-align: center;
    margin-top: 15px;
}
.comment-popup .popup-content .comment-filter-list .list-section .article-comment-list .comment-item-wrap .comment-item {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    padding: 10px;
    border-bottom: 1px solid grey;
}

.comment-popup .popup-content .comment-filter-list .list-section .article-comment-list .comment-item-wrap .comment-item .item-header {
    display: flex;
    justify-content: flex-start;
    line-height: 2;
}

.comment-popup .popup-content .comment-filter-list .list-section .article-comment-list .comment-item-wrap .comment-item .item-header img {
    border-radius: 50%;
    width: 30px;
    height: 30px;
    background-color: blue;
    margin-right: 5px;
}

.comment-popup .popup-content .comment-filter-list .list-section .article-comment-list .comment-item-wrap .comment-item .item-body {
    font-size: 16px;
    margin: 10px 0;
}

.comment-popup .popup-content .comment-filter-list .list-section .article-comment-list .comment-item-wrap .comment-item .item-footer {
    color: grey;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: space-between;
}

.comment-popup .popup-content .comment-filter-list .list-section .article-comment-list .comment-item-wrap .comment-item .item-footer .comment-actions {
    display: flex;
    line-height: 2;
}

.comment-popup .popup-content .comment-filter-list .list-section .article-comment-list .comment-item-wrap .comment-item .item-footer .comment-actions div {
    margin-right: 15px;
}

.comment-popup .popup-content .comment-filter-list .list-section .article-comment-list .comment-item-wrap .comment-item .item-footer .comment-actions div .iconfont {
    font-size: 20px;
}

.comment-popup .popup-content .comment-filter-list .list-section .article-comment-list .comment-item-wrap .comment-item .item-footer .comment-actions div button {
    border: none;
    background-color: white;
    font-size: 18px;
    cursor: pointer;
}

.comment-popup .popup-content .comment-filter-list .list-section .article-comment-list .comment-item-wrap .comment-item .item-footer .comment-actions div span {
    font-size: 18px;
}

/* 灰色遮罩层 */
body.active::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

@keyframes showMask {
    from {
        background-color: transparent;
    }
    to {
        background-color: rgba(0, 0, 0, 0.5);
    }
}

@keyframes fadeMask {
    from {
        background-color: rgba(0, 0, 0, 0.5);
    }
    to {
        background-color: transparent;
    }
}

@keyframes showPopup {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.5);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

@keyframes fadePopup {
    from {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
    to {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.5);
    }
}

.confirm-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: transparent;
    z-index: 1000;
    animation: showMask 0.3s ease;
}

.confirm-popup.active {
    background-color: rgba(0, 0, 0, 0.5);
    display: block;
}

.confirm-popup.active .popup-content {
    opacity: 1;
}

.confirm-popup.closing {
    animation: fadeMask 0.3s ease;
}

.confirm-popup.closing .popup-content {
    animation: fadePopup 0.3s ease;
}

.confirm-popup .popup-content {
    width: 350px;
    height: 170px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    border-radius: 10px;
    animation: showPopup 0.3s ease;
}

.confirm-popup .popup-content .container {
    display: flex;
    flex-direction: column;
    background-color: white;
    padding: 5px 10px 10px 15px;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    position: relative;
}

.confirm-popup .popup-content .container .close .delete-close-button {
    float: right;
    font-size: 25px;
    cursor: pointer;
}

.confirm-popup .popup-content .container .confirm-text {
    font-size: 20px;
    margin-bottom: 15px;
}

.confirm-popup .popup-content .container .confirm-alert {
    margin-bottom: 20px;
}

.confirm-popup .popup-content .container .confirm-footer {
    text-align: end;
    margin-right: 15px;
}

.confirm-popup .popup-content .container .confirm-footer button {
    width: 60px;
    height: 30px;
    border: none;
    font-size: 17px;
    border-radius: 5px;
    line-height: 30px;
    background-color: white;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.confirm-popup .popup-content .container .confirm-footer .cancel-button {
    border: 0.5px solid grey;
}

.confirm-popup .popup-content .container .confirm-footer .cancel-button:hover {
    border: 0.5px solid black;
}

.confirm-popup .popup-content .container .confirm-footer .confirm-button {
    background-color: #FF5E5E;
    color: white;
    margin-left: 10px;
}

.confirm-popup .popup-content .container .confirm-footer .confirm-button:hover {
    background-color: #FF8585;
}
